package com.xc.ezplan.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xc.ezplan.admin.entity.AdminDept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.ezplan.admin.vo.AdminDeptVo;
import com.xc.ezplan.core.base.SearchCondition;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Set;

/**
 * @author lixingchen
 * @date 2022/11/19
 * @description 部门管理接口
 */
public interface AdminDeptService extends IService<AdminDept> {

    void createDept(AdminDeptVo adminDeptVo);

    void deleteDept(Set<Long> ids);

    void updateDept(AdminDeptVo adminDeptVo);

    void exportDept(HttpServletResponse response, List<Long> ids) throws IOException;

    Object queryDept(Long deptId);

    Object pageQueryDept(SearchCondition searchCondition, Page<AdminDept> page);
}
